package com.njtoyo.taxi.admin.mapper.secondary.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum SystemSensitiveOperationObjectType {
    self(0, "自身"),
    assigned(1, "指定人校验"),
    superior(2, "上级校验");

    @EnumValue
    private final int code;
    private final String desc;

    SystemSensitiveOperationObjectType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
